package com.card.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * ClassName: CardVo <br/>
 * Function: 卡信息. <br/>
 * date: 2018年12月27日 上午10:19:57 <br/>
 * 
 * @author lishuai11
 * @version
 * @since JDK 1.8
 */
@ApiModel
public class CardVo {

	public CardVo() {

	}

	public CardVo(String name, String code, String detail, int score) {
		this.name = name;
		this.code = code;
		this.detail = detail;
		this.score = score;
	}

	@ApiModelProperty(name = "name", value = "卡名称")
	private String name;

	@ApiModelProperty(name = "code", value = "卡编号")
	private String code;

	@ApiModelProperty(name = "detail", value = "卡描述")
	private String detail;

	@ApiModelProperty(name = "score", value = "卡积分")
	private int score;

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the detail
	 */
	public String getDetail() {
		return detail;
	}

	/**
	 * @param detail
	 *            the detail to set
	 */
	public void setDetail(String detail) {
		this.detail = detail;
	}

	/**
	 * @return the score
	 */
	public int getScore() {
		return score;
	}

	/**
	 * @param score
	 *            the score to set
	 */
	public void setScore(int score) {
		this.score = score;
	}

}
